A Formal Framework with Late Binding
نویسندگان
چکیده
We deene a speciication formalism (formally, an institution) which provides a notion of dynamic type (the type which is associated to a term by a particular evaluation) and late binding (the fact that the function version to be invoked in a function application depends on the dynamic type of one or more arguments). Hence, it constitutes a natural formal framework for modeling object-oriented and other dynamically-typed languages and a basis for adding to them a speciication level. In this respect, the main novelty is the capability of writing axioms related to a given type which are not required to hold for subtypes, hence can be \overridden" in further reenements, thus lifting at the speciication level the possibility of reusing code which is ooered by the object-oriented approach.
منابع مشابه
A Multi-Formalism Modeling Framework: Formal Definitions, Model Composition and Solution Strategies
In this paper, we present a multi-formalism modeling framework (abbreviated by MFMF) for modeling and simulation. The proposed framework is defined based on the concepts of meta-models and uses object-orientation to overcome the complexities and to enhance the extensibility. The framework can be used as a basis for modeling by various formalisms and to support model composition in a unified man...
متن کاملA Multi-Formalism Modeling Framework: Formal Definitions, Model Composition and Solution Strategies
In this paper, we present a multi-formalism modeling framework (abbreviated by MFMF) for modeling and simulation. The proposed framework is defined based on the concepts of meta-models and uses object-orientation to overcome the complexities and to enhance the extensibility. The framework can be used as a basis for modeling by various formalisms and to support model composition in a unified man...
متن کاملScope and Situation Binding in LTAG Using Semantic Unification
This paper sets up a framework for Lexicalized Tree Adjoining Grammar (LTAG) semantics that brings together ideas from different recent approaches addressing some shortcomings of LTAG semantics based on the derivation tree. The approach assigns underspecified semantic representations and semantic feature structure descriptions to elementary trees. Semantic computation is guided by the derivatio...
متن کاملReasoning About Inheritance and Unrestricted Reuse in Object-Oriented Concurrent Systems
Code reuse is a fundamental aspect of object-oriented programs, and in particular, the mechanisms of inheritance and late binding provide great flexibility in code reuse, without semantical limitations other than typecorrectness. However, modular reasoning about late binding and inheritance is challenging, and formal reasoning approaches place semantical restrictions on code reuse in order to p...
متن کاملModeling and Evaluation of Stochastic Discrete-Event Systems with RayLang Formalism
In recent years, formal methods have been used as an important tool for performance evaluation and verification of a wide range of systems. In the view points of engineers and practitioners, however, there are still some major difficulties in using formal methods. In this paper, we introduce a new formal modeling language to fill the gaps between object-oriented programming languages (OOPLs) us...
متن کامل